package com.hfut.eeg.dto;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * @author 梁琦
 * @program: eeg
 * @Package com.hfut.eeg.dto
 * @Description: 异常波数据信息
 * @date 2019-12-11 09:20
 */
public class EerWaves implements Cloneable{
    private Long Id;
    private String eegId;

    @JSONField(name = "beginWave")
    private Integer beginWave;

    @JSONField(name = "endWave")
    private Integer endWave;

    @JSONField(name = "message")
    private String message;

    @JSONField(name = "errRank")
    private Integer errRank;

    @JSONField(name = "channelIndex")
    private Integer channelIndex;

    @Override
    public EerWaves clone() throws CloneNotSupportedException {
        return (EerWaves) super.clone();
    }

    public EerWaves(Long id, String eegId, Integer beginWave, Integer endWave,
                    String message, Integer errRank, Integer channelIndex) {
        Id = id;
        this.eegId = eegId;
        this.beginWave = beginWave;
        this.endWave = endWave;
        this.message = message;
        this.errRank = errRank;
        this.channelIndex = channelIndex;
    }

    public EerWaves() {
    }

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getEegId() {
        return eegId;
    }

    public void setEegId(String eegId) {
        this.eegId = eegId;
    }

    public Integer getBeginWave() {
        return beginWave;
    }

    public void setBeginWave(Integer beginWave) {
        this.beginWave = beginWave;
    }

    public Integer getEndWave() {
        return endWave;
    }

    public void setEndWave(Integer endWave) {
        this.endWave = endWave;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getErrRank() {
        return errRank;
    }

    public void setErrRank(Integer errRank) {
        this.errRank = errRank;
    }

    public Integer getChannelIndex() {
        return channelIndex;
    }

    public void setChannelIndex(Integer channelIndex) {
        this.channelIndex = channelIndex;
    }

    @Override
    public String toString() {
        return "EerWaves{" +
                "Id=" + Id +
                ", eegId=" + eegId +
                ", beginWave=" + beginWave +
                ", endWave=" + endWave +
                ", message='" + message + '\'' +
                ", errRank=" + errRank +
                ", channelIndex=" + channelIndex +
                '}';
    }
}
